        <?php
            $db = new DBQuery;
            $sql = "SELECT * FROM product";
            $project = $db->query($sql);
            foreach($project as $pro):
        ?>
		<div class="product-main">
		<figure>
             <a class="single_image" href="../images/product_image/<?php echo $pro['pro_image'];?>">
            <img src="../images/product_image/<?php echo $pro['pro_image'];?>" alt="<?php echo $pro['pro_name_vn']?>"  />
            </a>
        </figure>
			<h3><?php echo $pro['pro_name_vn'];?></h3>
			<h4>Xuất xứ: <?php echo $pro['pro_origin_vn'];?></h4>
		
			<p><?php echo $pro['pro_description_vn'];?></p>
	
		</div>
        <?php endforeach; ?>
<script>
$("a.single_image").fancybox({
    'transitionIn'	:	'elastic',
	'transitionOut'	:	'elastic',
	'speedIn'		:	600, 
	'speedOut'		:	200, 
	'overlayShow'	:	false
});
</script>